package com.lanou3g.utils;


import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellType;

public  class ExcelUtil {
    // 解析工具
    public static String getCellValue(Cell cell) {
        Object result = "";
        if (cell != null) {
            cell.setCellType(CellType.STRING);
            result = cell.getStringCellValue();
        }
        return result.toString();
    }

}
